package com.hqj.demo.entity;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;


public class Teacher {
    private String name;
    private String sex;
    private Double height;

    public Teacher() {}

    public Teacher(String name, String sex, Double height) {
        this.name = name;
        this.sex = sex;
        this.height = height;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", height=" + height +
                '}';
    }
}
